package collection.enumTest;

public enum LightEnum {
    RED (1), GREEN (3), YELLOW (2);

    private int nCode ;

    private LightEnum( int _nCode) {
        this . nCode = _nCode;
    }

    @Override
    public String toString() {
        return String.valueOf ( this . nCode );
    }
 

}

